#include "ADuC7020.h"
#include "stdint.h"

void delay (int length)
{
  while (length >= 0)
  {
    length--;
    GP1DAT ^= 0x0080000;		// Complement P1.3
  }
}

int main() {
  while(1) {
    uint32_t time = 0xfffff;
    GP4DAT = 0x04000000;
    delay(time);
    GP4DAT = 0x00000000;
    delay(time);
  }
}
